package com.koocloud.electroplatemanage.service;

import com.koocloud.electroplatemanage.common.pojo.ResponseTemplate;
import com.koocloud.electroplatemanage.pojo.WorkProcessVo;

/**
 * @program: electroplatemanage
 * @description: 主要工道及其过程记录Service接口
 * @author: xxc
 * @create: 2020-11-16 14:19
 */
public interface WorkProcessService {

    //通过工单号查询一条技术要求数据
    ResponseTemplate selectByWorkOrderNumber(String workOrderNumber);

    //添加时的模板
    ResponseTemplate selectByWorkOrderNumberTemplate(String workOrderNumber);

    //对技术要求信息进行全表查询
    ResponseTemplate selectAllData(String page, String limit, WorkProcessVo workProcessVo);

    //新增一条数据
    ResponseTemplate insert(WorkProcessVo workProcessVo,String userId);

    //逻辑删除一条记录
    ResponseTemplate delete(String id,String userId,String deleteFlag);

    //修改一条技术要求信息记录
    ResponseTemplate update(WorkProcessVo workProcessVo, String userId);

    //生产结束确认按钮
    ResponseTemplate confirmEntryInfo(String workOrderNumber, String userId);

    //生产完成确认按钮
    ResponseTemplate confirmCompletedInfo(String workOrderNumber, String userId);
}
